<!DOCTYPE html>
<html
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
        >

<h:head>
    <title>WhoMeToo</title>
    <h:outputStylesheet library="css" name="typeface.css"/>
    <h:outputStylesheet library="css" name="common.css"/>
    <h:outputStylesheet library="css" name="bootstrap.css"/>
    <h:outputStylesheet library="css" name="login.css"/>
    <f:loadBundle basename="com.dataart.training.crimequalification.facesutils.messages"
                  var="msgs"></f:loadBundle>
    <f:loadBundle basename="com.dataart.training.crimequalification.facesutils.configurations"
                  var="conf"></f:loadBundle>
</h:head>

<f:view>

    <h:body styleClass="body">
        <ui:include src="/views/navbar.xhtml"/>

        <div class="container">

            <h:panelGroup rendered="#{registrationBean.registrationComplete}">
                <div class="span9 well">
                    <h2 class="text-success">Almost there, #{registrationBean.username}!</h2>
                    <hr/>
                    <br/>

                    <div class="alert alert-success">
                        Your registration is almost complete.
                        Please now verify the e-mail address you provided (#{registrationBean.email})
                        and proceed to the index page with your new credentials.
                    </div>
                </div>
            </h:panelGroup>

        </div>

    </h:body>

</f:view>
</html>